package com.example.test.operate.util;




/**
 * <desc>
 *      业务逻辑ID处理。
 * </desc>
 *
 * @createDate 2017/9/19
 */
public class LogicIdUtil {


    final static IdWorker idWorker = new IdWorker(10);

    /**
     * 随机获取业务逻辑ID
     *
     * @return 业务逻辑编码ID，18位长度
     */
    public static String bussinessId() {
        long bussinessId = idWorker.nextId();
        return String.valueOf(bussinessId);
    }



}

